<?php

$pluginDir="yifang_backend_account";
$pluginsPath = "plugins/{$pluginDir}";

router()->get("{$pluginDir}/install/database", "{$pluginsPath}/controller/Install/database"); //安装数据库
router()->get("{$pluginDir}/install/menu", "{$pluginsPath}/controller/Install/menu"); //后台菜单
router()->get("{$pluginDir}/install/install", "{$pluginsPath}/controller/Install/install"); //安装插件
router()->get("{$pluginDir}/install/uninstall", "{$pluginsPath}/controller/Install/uninstall"); //卸载插件

/**
 * 初始化账号
 */
router()->get("{$pluginDir}/rbacAdmin/initAccount", "{$pluginsPath}/admin/controller/Rbac_admin/initAccount");
router()->get("{$pluginDir}/rbacAdmin/initNode", "{$pluginsPath}/admin/controller/Rbac_admin/initNode");  //初始化节点
router()->get("{$pluginDir}/rbacAdmin/initData", "{$pluginsPath}/admin/controller/Rbac_admin/initData");  //初始化数据


